package com.catsic.zcjc.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * 省份
 */
@Entity
@Table(name = "t_province")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Province extends BaseAreaEntity  implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = -2990609794696364484L;

	public Province() {
    }
    /**
     * id
     */
    @Id
    @GeneratedValue
    @Column(name = "id")
    private Long id;
    /**
     * 名称
     */
    @Column(name = "name")
    private String name;
    /**
     * 字母
     */
    @Column(name = "letter")
    private String letter;
    /**
     * 是否是热门城市
     */
    @Column(name = "hot_flag")
    private Boolean isHot;
    /**
     * 全拼音
     */
    @Column(name = "full_letter")
    private String fullletter;

    public Province(Long provinceId) {
        this.id = provinceId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLetter() {
        return letter;
    }

    public void setLetter(String letter) {
        this.letter = letter;
    }

    public Boolean getIsHot() {
        return isHot;
    }

    public void setIsHot(Boolean isHot) {
        this.isHot = isHot;
    }

    public String getFullletter() {
        return fullletter;
    }

    public void setFullletter(String fullletter) {
        this.fullletter = fullletter;
    }

}
